﻿using System.Runtime.Serialization;

namespace Budget.Wcf.Core.Dto
{
    [DataContract(IsReference = true)]
    public class ProductData
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public CategoryData Category { get; set; }
    }
}